package com.wzy.mall.model.vo.clientVO;

public class GoodsCommentVO {
    private Integer id;
    private Integer score;
    private String specName;
    private String comment;
    private String time;
    private Integer userId;
    private CommentUser user;

    @Override
    public String toString() {
        return "GoodsCommentVO{" +
                "id=" + id +
                ", score=" + score +
                ", specName='" + specName + '\'' +
                ", comment='" + comment + '\'' +
                ", time='" + time + '\'' +
                ", userId=" + userId +
                ", user=" + user +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public CommentUser getUser() {
        return user;
    }

    public void setUser(CommentUser user) {
        this.user = user;
    }
}

class CommentUser {
    private String nickname;

    @Override
    public String toString() {
        return "CommentUser{" +
                "nickname='" + nickname + '\'' +
                '}';
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }
}